package com.iisigroup.audf.model;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.Collections;
import java.util.HashSet;
import java.util.List;
import java.util.Map;
import java.util.Set;

public class Context implements Serializable{
    /**
     * 
     */
    private static final long serialVersionUID = 67939082514140207L;
    private List<ExecelSheet> line;
    private Map<String,Map<String ,ExecelSheet>> dataMap;
    private List<String> rowFuncTaskSet = new ArrayList<String>();
    private List<String> siteNameInfo ;

    public List<ExecelSheet> getLine() {
	if(line == null){
	    line = new ArrayList<ExecelSheet>();
	}
        return line;
    }

    public void setLine(List<ExecelSheet> line) {
        this.line = line;
    }

    public Map<String, Map<String, ExecelSheet>> getDataMap() {
        return dataMap;
    }

    public void setDataMap(Map<String, Map<String, ExecelSheet>> dataMap) {
        this.dataMap = dataMap;
    }

    public List<String> getRowFuncTaskSet() {
	Collections.sort(rowFuncTaskSet);
        return rowFuncTaskSet;
    }

    public void setRowFuncTaskSet(List<String> rowFuncTaskSet) {
        this.rowFuncTaskSet = rowFuncTaskSet;
    }

    public List<String> getSiteNameInfo() {
	if(dataMap!=null){
	    siteNameInfo =new ArrayList( dataMap.keySet());
	    Collections.sort(siteNameInfo);
	}
        return siteNameInfo;
    }

    public void setSiteNameInfo(List<String> siteNameInfo) {
        this.siteNameInfo = siteNameInfo;
    }
    

}
